module.exports = {
  publicPath: '/face/', // 设置公共路径前缀
  devServer: {
    disableHostCheck: true,
    proxy: {
      '/api': {
        target: 'https://6afd-116-226-15-152.ngrok-free.app', // 你的后端服务器地址
        changeOrigin: true,
        pathRewrite: { '^/api': '' }
      }
    }
  },
  lintOnSave: false // 关闭 ESLint 检查
} 